<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      template="./template.xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <head>
        <title>Eliminar</title>
        <meta name="viewport" content="width=device-width"/>
    </head>
    <body>
        <center> <h1>Eliminar</h1></center>
        <h:form>
            <h:panelGrid columns="2" cellpadding="5">
                <p:column >
                <img src="./cama2.jpg" style=" height: 250px; width: 250px; "></img>
                <p:outputLabel for="IdPieza" value="IdPieza: " />
                <p:inputMask id="IdPieza" value="#{actor.actorId}" mask="xxxxxxxxxx"/>
                </p:column>
                <p:column >
                <img src="./cama3.jpg" style=" height: 250px; width: 250px; "></img>
                <p:outputLabel for="IdPieza2" value="IdPieza: " />
                <p:inputMask id="IdPieza2" value="#{actor.actorId}" mask="xxxxxxxxxx"/>
                </p:column>

                <p:commandButton value="Eliminar" actionListener="#{actor.Borrar()}"  oncomplete="PF('dlg').show()"/>



                <p:commandButton value="Eliminar" actionListener="#{actor.Borrar()}"  oncomplete="PF('dlg').show()"/>
            </h:panelGrid>



            <h:panelGrid columns="2" cellpadding="5">
            </h:panelGrid>
            <p:commandButton value="Regresar" actionListener="index.xhtml" />
        </h:form>
    </body>
</html>
